package com.hst.capacity.application.amqp;

import org.springframework.amqp.core.Queue;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@EnableRabbit
@Configuration
public class RabbitConfiguration {

    @Bean
    public Queue lyQueue() {
        return new Queue(QueueConstants.GRABBING_ORDER_LY, true);
    }

}
